package com.csun.cmny.provider.model.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class PaymentCycleDto implements Serializable {

    private static final long serialVersionUID = -1165312536799230429L;
    /*
    * id
    * */
    private Long id;

    /**
     * 缴费单生成周期配置，存入的字符串为cron表达式
     */
    private String paymentRecordGenerateConfig;

    /**
     * 描述
     */
    private String remark;

    /**
     * 组织Id
     */
    @NotNull(message = "{group.id.error}")
    private Long groupId;
}
